home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 1.iso
/
dist
/
fw_amp.idb
/
usr
/
freeware
/
src
/
amp
/
patches.z
/
patches
Wrap
Text File
|
1998-05-21
|
4KB
|
153 lines
*** ./Makefile.in Sat Aug 23 02:54:35 1997
--- ../amp-0.7.6.port/./Makefile.in Sat Dec 27 09:02:52 1997
***************
*** 8,15 ****
CC = @CC@
DEFINES = @DEFINES@
! CFLAGS = @CFLAGS@ ${DEFINES} ${DEBUG}
LDFLAGS = @LDFLAGS@
#
# uncomment both of these if you want profiling support
--- 8,18 ----
CC = @CC@
DEFINES = @DEFINES@
! CFLAGS = @CFLAGS@ ${DEFINES} ${DEBUG}
LDFLAGS = @LDFLAGS@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ INSTALL = install
#
# uncomment both of these if you want profiling support
***************
*** 47,52 ****
$(CC) -S $(CFLAGS) $(GGDB) $(PG) $<
dep:
! gcc -MM ${DEFINES} ${DEBUG} *.c > .depend
#-include .depend
--- 50,58 ----
$(CC) -S $(CFLAGS) $(GGDB) $(PG) $<
dep:
! ${CC} -MM ${DEFINES} ${DEBUG} *.c > .depend
!
! install:
! ${INSTALL} -m 555 -F ${exec_prefix}/bin amp
#-include .depend
*** ./args.c Sat Aug 16 11:33:51 1997
--- ../amp-0.7.6.port/./args.c Sat Nov 29 01:14:32 1997
***************
*** 103,108 ****
--- 103,114 ----
A_MSG_STDOUT=FALSE;
A_DOWNMIX=FALSE;
+ /* if no arguments... */
+ if (argc==1 && isatty(fileno(stdin)))
+ {
+ displayUsage(); /* this will exit(0) itself */
+ }
+ /* else, there are arguments to parse */
while (1) {
static struct option long_options[] = {
{"help", no_argument, 0, 'h'},
*** ./transform.h Sat May 31 10:47:58 1997
--- ../amp-0.7.6.port/./transform.h Wed Dec 24 13:03:12 1997
***************
*** 6,15 ****
* Created by: tomislav uzelac May 1996
* Last modified by: tomislav uzelac Mar 1 97
*/
extern void imdct_init();
extern void imdct(int win_type,int sb,int ch);
! extern void poly(int ch,int i);
extern void premultiply();
extern short sample_buffer[18][32][2];
extern float res[32][18];
--- 6,17 ----
* Created by: tomislav uzelac May 1996
* Last modified by: tomislav uzelac Mar 1 97
*/
+ #ifndef TRANSFORM
extern void imdct_init();
extern void imdct(int win_type,int sb,int ch);
! extern void poly(const int ch,int i);
extern void premultiply();
+ #endif /* ifndef TRANSFORM */
extern short sample_buffer[18][32][2];
extern float res[32][18];
***************
*** 19,25 ****
void imdct_init();
void imdct(int win_type,int sb,int ch);
! void poly(int ch,int i);
void premultiply();
short sample_buffer[18][32][2];
--- 21,27 ----
void imdct_init();
void imdct(int win_type,int sb,int ch);
! void poly(const int ch,int i);
void premultiply();
short sample_buffer[18][32][2];
*** ./huffman.c Thu Aug 21 03:42:13 1997
--- ../amp-0.7.6.port/./huffman.c Fri Dec 26 22:01:16 1997
***************
*** 6,11 ****
--- 6,12 ----
* Created by: tomislav uzelac Mar,Apr 1996
* Last modified by: tomislav uzelac Mar 8 97
*/
+ #include "config.h"
#include "audio.h"
#include "getbits.h"
*** ./guicontrol.c Sat Aug 23 04:30:51 1997
--- ../amp-0.7.6.port/./guicontrol.c Wed Dec 24 13:18:36 1997
***************
*** 254,264 ****
fdhdr.cmsg_len = sizeof(struct m_cmsghdr);
fdhdr.cmsg_level = SOL_SOCKET;
! fdhdr.cmsg_type = SCM_RIGHTS;
fdhdr.fd = 0;
! hdr.msg_control = &fdhdr;
! hdr.msg_controllen = sizeof(struct m_cmsghdr);
if(recvmsg(receive_fd, &hdr, 0) < 0)
perror("recvmsg");
--- 254,264 ----
fdhdr.cmsg_len = sizeof(struct m_cmsghdr);
fdhdr.cmsg_level = SOL_SOCKET;
! /* fdhdr.cmsg_type = SCM_RIGHTS; */
fdhdr.fd = 0;
! /* hdr.msg_control = &fdhdr; */
! /* hdr.msg_controllen = sizeof(struct m_cmsghdr); */
if(recvmsg(receive_fd, &hdr, 0) < 0)
perror("recvmsg");
***************
*** 376,381 ****
--- 376,382 ----
case GETHDR_SYN: warn("oops, we're out of sync.\n");
break;
default:
+ ; /* NOP */
}
break;
}